home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q107 / 0 / 60.TXT next >
Text File  |  1993-11-24  |  2KB  |  61 lines

  1. DOCUMENT:Q107060  23-NOV-1993  [W_NT]
  2. TITLE   :INF: Windows NT NBTSTAT -R vs. LAN Manager ADDNAME
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. The ADDNAME utility that ships with LAN Manager TCP/IP allows you to enter
  19. LAN Manager NetBIOS names and their IP addresses into the TCP/IP name cache
  20. without modifying the LMHOSTS file. The same functionality is available in
  21. Windows NT by the NBTSTAT utility.
  22.  
  23. To add a new NetBIOS name IP address in Windows NT, do the following:
  24.  
  25. 1. Edit the file <winnt root>\SYSTEM32\DRIVERS\ETC\LMHOSTS.
  26.  
  27. 2. Add the new IP address and NetBIOS name.
  28.  
  29. 3. Put #PRE at the end of the line if you want the address to be cached
  30.    into memory.  Otherwise, Windows NT will search the LMHOSTS file if the
  31.    name is not found in the cache which could take longer.
  32.  
  33. 4. Run NBTSTAT -R.
  34.  
  35. The -R parameter rereads the LMHOSTS file and adds #PRE lines into the name
  36. cache.
  37.  
  38. REFERENCES
  39. ==========
  40.  
  41. Windows NT "TCP/IP Reference"
  42.  
  43. Additional reference words: 3.10 NTAS LM PING
  44. KBCategory:
  45. KBSubCategory: tpip
  46.  
  47. =============================================================================
  48.  
  49. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  50. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  51. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  52. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  53. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  54. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  55. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  56. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  57. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  58. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  59. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  60.  
  61. Copyright Microsoft Corporation 1993.